package com.neusoft.elm.dao;

import com.neusoft.elm.po.DeliveryAddress;

import java.util.List;

public interface DeliveryAddressDao {

    public List<DeliveryAddress> listDeliveryAddressByUserId(String userId) throws Exception;

    public int saveDeliveryAddress(DeliveryAddress address) throws Exception;

    public DeliveryAddress getDeliveryAddressBydaId(Integer daId) throws Exception;

    public int updateDeliveryAddress(DeliveryAddress address) throws Exception;

    public int removeDeliveryAddress(Integer daId) throws Exception;
}
